home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d3
/
tw15.arc
/
TW.DOC
< prev
Wrap
Text File
|
1990-06-29
|
52KB
|
1,209 lines
┌──────────────────────────────────────────────────┐
│ │
│ TINYWORD │
│ │
│ version 1.5 │
│ │
│ │
│ Copyright (c) 1989, 1990 - all rights reserved │
│ Loys Software Development │
│ │
└──────────────────────────────────────────────────┘
TINYWORD is a small, basic, no frill text editor designed to
create ASCII texts for the IBM personal computers and near
compatibles.
Loys Software Development reserves the copyright to this
program and all related materials. The user is granted a non-
exclusive license to use the program and is encouraged to pay
for the program if it is found to be useful. A modest sum of
ONE DOLLAR will entitle the user to full registration. Govern-
ment and business entities must register to use the program.
Although payment is not strictly enforced, we recommend that
you register your program with the form included at the end of
the documentation. If enough users use this program, we will
be encouraged to make future enhancements of TINYWORD. Your
dollar, of course, helps to defray the cost of development.
Send payments, if any, and the registration form to:
Loys Software Development
1276 Crystal St.
Los Angeles, CA. 90031
Loys Software Development specifically disclaims all
warranties, expressed or implied, including but not limited to,
implied warranties of merchantability and fitness for any
particular purpose. In no event shall Loys Software Development
be liable for any loss of profit or any other commercial damage,
including but not limited to special, incidental, or consequential
damages.
You are encouraged to make unlimited copies of TINYWORD and
pass it along to other users in club meetings, schools, bulletin
board systems, et cetera for general distributions. TINYWORD
must be distributed in unmodified and complete form, given in its
original compressed file (e.g. TINYWORD.COM or TINYWORD.EXE).
Under no circumstances may TINYWORD be sold for commercial purposes
without the prior written permission from Loys Software Development.
However, you may charge a reasonable fee for recovering the cost of
duplicating a disk. You may also distribute TINYWORD in conjunction
with any fine products where it is permissible, and as long as you
fulfilled the terms of the agreement.
┌─────────────────────────────────────────────────────────────────┐
│ │
│ IMPORTANT │
│ │
│ -------> We need to enlist the help of ALL USERS. <------ │
│ │
│ Due to our limited resources, we are unable to notify every │
│ users of our new TINYWORD, so if you know of any bulletin │
│ board systems, clubs, or software vendors which still have │
│ an older version of TINYWORD, please help us by removing the │
│ old copy and replacing it with a more updated version of one. │
│ The new version of TINYWORD in its compressed file format │
│ occupies approximately 30K of disk storage space. Thank you │
│ for your support. │
│ │
└─────────────────────────────────────────────────────────────────┘
Your copy of TINYWORD should consist of 5 files:
TW.COM - TINYWORD text editor.
TP.COM - TINYPRINT printer formatter.
TW.DOC - documentations for TW.COM and TP.COM.
README.BAT - startup batch program.
COLOR.COM - a color chart to assist you in selecting the appro-
priate color for your text and status line. Works
for color monitors only.
=======================================================================
INTRODUCTION
TINYWORD is a compact size text editor occupying approximately
6 kilobytes of disk storage space. TINYWORD not only provides
you with a wide range of text editing capabilities, but it is also
simple to use. TINYWORD is small but it packs enough power to rival
most text editors in the same class. Some of TINYWORD's features
include:
o full screen editing
o handles either monochrome or graphics adapter
o displays the column and line number of the cursor position
o capable of editing as much as the amount of free memory
o on-line help
o inserting and deleting texts
o removing portions or whole lines of texts
o copying, deleting, or moving blocks of texts
o context sensitive search and replace commands
o automatic indentations
o automatic tabulations
o restores deleted lines
TINYWORD is a screen editor specifically designed for the
creation of ASCII text. While some editors are only capable of
editing up to 64K worth of memory, TINYWORD instead uses all the
available memory in the computer system which allows you to write
even larger texts. TINYWORD also incorporates some commands made
standard by WORDSTAR. Even if you are unfamiliar with WORDSTAR's
commands, TINYWORD provides immediate on-line help just a key
stroke away when you need help with the editing.
HARDWARE AND SOFTWARE REQUIREMENTS
o Near compatible machine or (PC,XT,AT,Laptops).
o DOS 2.0 or above.
o Supports monochrome and/or graphics adapter.
o Requires a minimum of 4K bytes of RAM.
o At least one disk drive.
o Requires a minimum 6 kilobytes of free space on disk.
LIMITATIONS
__________________________________________________________________
Before you start using TINYWORD, there are several limitations
about TINYWORD that you should be aware of. TINYWORD is only able
to support files with lines of 80 characters maximum. If you at-
tempt to load a file exceeding the maximum limit, the file would
be truncated. Also the current version of TINYWORD does not support
word wrapping features.
Another limitation of TINYWORD concerns the saving of files.
You must have plenty of room on your disk to write the files into.
TINYWORD needs all the free space on disk to write the saved file
including the backup file with the .BAK extension. If the amount
of text in the memory buffer exceeds the total capacity of the disk,
TINYWORD suspends the writing operation with an error. Any text
still remaining in the memory buffer which has not been completely
written to disk before the abruption occurred, would be in danger
of being lost. Simply stated, you should always make frequent
backups of your file for your protection.
There are certain characters which TINYWORD is not able to
recognize like the horizontal tab characters. TINYWORD will treat
them as space characters instead. So if you attempt to edit files
from XyWrite, for instance, you might stand a chance of losing these
special characters.
Finally, when you press the exit key to quit, TINYWORD
immediately terminates without stopping to ask if you would like
to save the changes to the file. Files are explicitly saved by
invoking the save command before terminating with the quit
command.
INSTRUCTIONS ON HOW TO USE TINYWORD EDITOR
__________________________________________________________________
Format: TW [ Filename[.Ext] ]
The format above is used to call up TINYWORD. Items in
square brackets are optional. If you want to include optional
information, do not include the square brackets, only information
within the brackets. A filename consists up to to eight characters
long followed by an optional period and an extension type not ex-
ceeding three characters in length. If the filename preceding TW
is omitted, TINYWORD automatically defaults to a message on the
status line requesting for the name of the file to be edited.
STATUS LINE
_________________________________________________________________
The illustration below shows what TINYWORD's status line looks
like on the screen. A summary is provided describing each of the
headings.
┌───────────────────────────────────────────────────────────────────────┐
│ F1=HELP F2=SAVE F3=LOAD F4=EXIT Editing:FILENAME.TYP Ln Cn ICA │
└───────────────────────────────────────────────────────────────────────┘
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ Status
│ │ │ │ │ │ │
│ │ │ │ │ │ └── Col #
│ │ │ │ │ └── Line #
│ │ │ │ └── Current file being edited
│ │ │ └── Quit TINYWORD editor
│ │ └── Save current file and load a new file
│ └── Save current file
└── Call Help Menu
F1 Displays an on-screen help menu of TINYWORD's editing
commands. Press any key on the keyboard again to resume
in the edit mode.
F2 Saves the updated file from the memory buffer to disk. If a
former version of this file exists, it will be renamed to
".BAK". (See section under miscellaneous for information
concerning the removal of "BAK" files)
F3 If a file already exists in the memory buffer, TINYWORD
automatically saves the edited file before loading the next
file into the memory buffer. TINYWORD requests for the
name of the new file by displaying the following message
on the status line:
Enter file name: _______________
F4 This command terminates the editor and returns the control
back to DOS again. Since editing has been performed entirely
in memory, the disk file is not affected by the changes. The
edited file is explicitly saved by first pressing the F2
function key before terminating the editor with the F4 key.
If the F4 function key is pressed before the F2 key, the
program will exit immediately without saving any portions
of the edited file to disk.
Editing: FILENAME.TYP
This shows the name of the file currently being edited.
Ln Displays the line number corresponding to the cursor's
position counted from the beginning of the file.
Cn Displays the column number corresponding to the cursor's
position from the left side of the screen.
Status
Shows the status of the keyboard which is determined by
any combinations of the following characters:
"I" stands for insert. The insert mode indicates that
characters are being inserted at the cursor. Any text
to the right of the cursor will shift to the right as
characters are typed into the keyboard. The insert mode
can be toggled on or off just by pressing the <INSERT>
key again. When the insert mode is off, character "O" is
shown on the status line to represent an overwrite. Text
keyed into the keyboard in this mode will overwrite
characters under the cursor.
"C" represents changes. This character will only appear in
the status line after changes have been made on the file.
"A" indicates that auto-indentation is presently active.
After depressing the RETURN key, the cursor attempts to
line up directly with the first character of the previous
line. The auto-indentation mode could be toggled off
merely by pressing both the <ALT> and the <A> keys
simultaneously. If character "A" is not shown on the
status line, this signifies that auto-indentation is now
in the passive mode. While in the passive mode, the
cursor always lines up with column one of the next line.
CURSOR MOVEMENT COMMANDS
_________________________________________________________________
You have the option of using either the cursor keys or the built-in
editing commands to control the movement of the cursor across the
screen. Some of TINYWORD's built-in editing commands complies to
the standard established by WORDSTAR.
<Ctrl><S> Moves the cursor one position to the left. The left arrow
cursor key can also be used in place of the <Ctrl><S> key.
<Ctrl><D> Moves the cursor one character to the right. You can also
use the right arrow key as an alternative to using the
<Ctrl><D> key.
<Ctrl><A> Moves the cursor to the beginning of the word on the left.
Another replacement for this is to depress both the <Ctrl>
and the left arrow keys simultaneously to move the cursor
to the beginning of the leftmost word.
<Ctrl><F> Moves the cursor to the beginning of the word on the right.
Another alternative is to depress both the <Ctrl> and the
right arrow keys simultaneously to move the cursor to the
beginning of the rightmost word.
<Ctrl><E> Places the cursor in the line above. The up arrow key
could also be used to replace the <Ctrl><E> key.
<Ctrl><X> Moves the cursor to the line below. You may also use
the down arrow key to move down one line instead of
using the <CTRL><X> keys.
<Ctrl><R> Scrolls the screen up by one page. The furthest the
cursor can reach is to the top of the file. Again
another option is to use the <PgUp> key.
<Ctrl><C> Scrolls down one page. You may also use <PgDn> instead.
<HOME> Places the cursor at the beginning of the current line.
<END> Moves the cursor to the end of the current line.
<Alt><T> Sets tab to increment after every 5 spaces to the right.
You may, however, modify the tab setting to whatever you
like merely by pressing <ALT><T>. TINYWORD responds with
the message:
Set tab width: ________
at which you would enter the desired tab value followed
by a carriage return.
<SHIFT><TAB>
Reverses the direction of the cursor to move left during
tabulation. The number of spaces which the cursor moves
depends on the tab setting set by <ALT><T>. By default
the tab is set to 5.
<Ctrl><PgUp>
Moves cursor to the top of the file. The cursor is placed
on the first character of the text.
<Ctrl><PgDn>
Moves to the bottom of the file placing the cursor at the
very last character of the text.
EDIT COMMANDS
_________________________________________________________________
<Ctrl><T> Deletes the word to the right of the cursor. The cursor
remains stationary.
<Ctrl><Y> Deletes the entire line containing the cursor. The remain-
ing text scrolls up one line to fill the void. The cursor
is automatically placed on column one of the next line.
<Ctrl><U> Recovers the last line deleted by <CTRL><Y>. Deleted
lines are recovered utilizing the concept of push and
pop stacks which carry pertinent information about
erased texts. Each time a line is removed from text,
the address of the erased line is pushed into a storage
called a stack. Addresses of the lines are stored in
the order that they were erased with the most current
one resting on top of the stack. Anytime when you want
to recover a deleted line, press the <Ctrl><U> command
to "pop" the address off the stack resulting in the
recovery of the erased line. (Sorry, but there are no
provisions for recovering deleted characters.)
<Ctrl><G> Erases the character under the cursor and shifts any
characters to the right of the cursor one position to
the left. You could also use the <DELETE> key as a
replacement to using <CTRL><G>.
<Ctrl><L> Deletes the rest of the line starting from the current
cursor position to the end of the current line.
<INSERT> This toggles the insert mode on and off. When the insert
mode is on, the letter "I" appears on the right hand
corner of the screen. Any existing text to the right of
the cursor shifts to the right as characters are typed
into the keyboard. Depressing the <INSERT> key again
deactivates the insert mode causing letter "O" to replace
character "I" in the status line. In the overwrite mode,
any characters entered through the keyboard will over-
write existing characters under the cursor.
BLOCK COMMANDS
_________________________________________________________________
The block commands operate on blocks of text. A block refers to a
quantity of text extending as little as one line to as much as
several pages of text. A block of text must be marked with two
markers corresponding to the starting and the ending location of
the block designated as the area to be copied, deleted, or moved.
The block is marked by placing a "begin block" (i.e. ALT-B) marker
on the first line and an "end block" marker (i.e. ALT-C or ALT-D)
on the final line. TINYWORD highlights the block to confirm the
area targetted for editing.
<ALT><B> <ALT><C> <ALT><I>
This group of commands places a copy of the blocked text at the
desired line containing the cursor. The original block is un-
affected by the changes. If the block has not been pre-marked
for copying, the command terminates the operation. To copy the
desired block of text, move the cursor to the first line of the
target block and mark it with the starting block marker
(i.e.<ALT><B>). Next move the cursor down to the last line of
the target block and mark it with the end block marker <ALT><C>.
After depressing the <ALT><C> entries, the highlighted portion
of the text should disappear. A copy of the block is retained
in memory until the desired area of the text is selected for
pasting. Move the cursor to the furthermost left column of the
targetted row for copying and press <ALT><I>. TINYWORD copies
the marked block to the line containing the cursor. Any text
located beneath the block would be shifted as a result of the
insertion.
<ALT><B> <ALT><D>
This operation deletes a block of text. The <ALT><B> command
marks the beginning of the block. The line containing the cursor
is highlighted to identify the specific text targetted for
erasure. Move the cursor down to the end of the block and mark
it with the <ALT><D> key. The marked block is deleted causing
any text found above and below the affected block to merge.
Since there are no provisions for recovering deleted blocks,
precautions are adviced when using this command.
<ALT><B> <ALT><D> <ALT><I>
This operation causes a block to move from one area of the text
to another area marked by the location of the cursor. The
original block disappears from its initial location, but later
re-emerges at another area of the text.
<ALT><X>
This operation aborts any block commands already in the buffer.
If, for some reason, you decide to stop in the middle of a
block command, you may press the <ALT><X> key to quit the
operation.
FIND AND REPLACE COMMANDS
_________________________________________________________________
The find and replace command has the ability to search for the
occurence of any string up to 20 characters long and replacing it
with another string also up to 20 characters long. Case letters
are dependent for the search. TINYWORD identifies upper and lower
case letters as distinct characters. The search operation always
begin from the current location of the cursor. If the specified
text is not detected before reaching end of file, TINYWORD issues
the message "End string matching" on the status line.
<ALT><F>
The find command lets you search for the occurence of any string
up to 20 characters long. TINYWORD prompts for the name of the
string to be searched.
Search for: _________________
Since the find/replace command is case dependent, it is important
to specify whether the string consists of an upper case or a
lower case letter. TINYWORD distinguishes upper and lower case
letters as separate entities. Upper case "D", for instance, is
treated differently from lower case letter "d" by TINYWORD. The
find operation starts from the current cursor position and searches
downward until the end of file is reached. If the find operation
successfully locates the match, the cursor points to the first
character of the occurence. However, if no string was found,
TINYWORD displays the message "End string matching" on the status
line. Any text found prior to the starting location of the cursor
will be completely disregarded by TINYWORD.
<ALT><R>
The replace command lets you substitute the searched string
with another string up to 20 characters long. The replace
command becomes operational immediately following the use of
the find command. The following message which is displayed in
the status line prompts you to enter the substituted string:
Change to: __________________
Any other commands used prior to the call of <ALT><R> will
interfere with the working operation of the replace command.
The interference causes TINYWORD to lose recollection of the
targetted string in the memory buffer. In order for the replace
command to work properly, use <ALT><R> immediately following the
use of the <ALT><F> keys.
<ALT><S>
By combining the power of both the find and replace commands, a
single operation is created called the substitute command. The
substitute command makes a global search of the entire text for
all occurences of a specific string with respect to the cursor
position, and replacing them with a substituted one. The
allowable string length could not exceed more than 20 characters
long. The message "End string matching" marks the completion of
the substitution process.
<Ctrl><C> or <Ctrl><BREAK>
This command aborts any of the find and replace operations.
TINYWORD displays the message "Cancel operation" on the status
line confirming the termination of the process.
ERROR MESSAGES
_________________________________________________________________
1. Error - Not enough memory.
This message appears when the file you are attempting to edit
with is larger than the capacity of the available memory in
the computer system.
Solution: You can free valuable memory space by removing
non-active resident memory programs from your system.
2. Error - Unable to open file.
This message only appears when TINYWORD is unable to open the
current file. There are several reasons for this error to
occur:
o One possibility may have to do with the file being so
corrupted that TINYWORD is unable to locate the starting
header position of the file.
o The other possibility might be due to the attribute of
the file being set improperly. This problem usually
arises when the file is set to "read-only" or "hide"
mode. The error could be resolved by changing the
attribute back to "write-only" mode.
3. Error - Unable to read file.
Please refer to the previous error message for similiar inform-
ation.
MISCELLANEOUS
_________________________________________________________________
1. How do you insert a blank row between two existing lines of
text?
Ans: By moving the cursor to the last character of the first
line and pressing the carriage return key, the second
line is forced to move down by one row, therefore,
causing a blank row to be inserted in the middle of the
two texts.
2. What can be done to remove a blank row between two texts?
Ans: Blank rows are also treated as ASCII spaces, therefore,
by placing the cursor on the blank row and pressing
<CTRL><Y>, you can delete the line.
3. Can TINYWORD automatically make double line spacings?
Ans: No. Although TINYWORD does not have the capability to
make double space after depressing the carriage return
key, TINYWORD's companion program TINYPRINT is able to
compensate the problem by double spacing during printing.
4. Can we merge two separate lines into one line?
Ans: Yes, providing there is enough room on the first line
to put the second line on. Move the cursor to the first
character of the second line and press the backspace key
several times until the two lines finally merge. If the
second line is longer than the capacity of the first line,
TINYWORD cancels the operation and gives a warning beep to
indicate its unsuccessful attempt at merging the two lines.
5. How do you break one line into two lines of text?
Ans: Move the cursor to the location of the text you intend
to break the line off and press <RETURN>. This results
in the line breaking into two parts.
6. What other ways can TINYWORD be used for?
Ans: TINYWORD can alsu be used as a reminder program during the
computer's start-up process. Put TINYWORD in the root
directory and include the following statements in your
AUTOEXEC.BAT file (This would be a good time to try out
your TINYWORD text editor!):
if not exist REMINDER goto NoReminder
TW REMINDER
:NoReminder
Each time when you start up your computer system, the
AUTOEXEC batch file looks for the "REMINDER" file.
When it succeeds in finding the file, TINYWORD displays
the content of the file to the screen.
Another use for TINYWORD is to replace DOS version of the
TYPE command. TINYWORD lets you browse through any ASCII
file, and at the same time, makes edit too.
7. How can you create printer control codes such as Ctrl-Z or
Ctrl-L in TINYWORD?
Ans: While the current version of TINYWORD cannot make
printer control codes due to the lack of our foresight,
a new version of TINYWORD is currently being developed
to correct this problem.
8. Will you be adding other features to TINYWORD in the future?
Ans: Yes. Word wrapping is just one example that would be in-
cluded in the future version of TINYWORD. Special features
are added according to what the majority of the users want.
At the same time, we try to maintain tighter programming
codes so that the software could remain as small as possible.
Our goal is to make a text editor that is less than 6K.
Keep those suggestions coming in so we know what you want.
We would also be very pleased if you report any bugs to us.
As the old saying goes "We can't fix it if we can't see it."
9. After exiting TINYWORD, the cursor appeared to change size. In
some systems the cursor vanished. What can be done to bring the
cursor back to its original state?
Ans: Several of you asked the same question but neglected to
list the type of system used, so we were unable to rectify
the problem. If you are one of the unfortunate few to
experience the same problem, we would like to hear from
you. A description of your system will provide us with
some clues determining what went wrong with TINYWORD.
Your reply will help us improve the quality of TINYWORD in
the future.
In the mean time, you could try using the MODE command
provided by MS-DOS after terminating TINYWORD as a way to
return the cursor back to its original state. The mode
command is used to correct non-IBM displays. The following
command activates MODE:
MODE <method>
<method> falls into one of the following:
MONO IBM Monochrome display
BW40 Color display, 40 columns, color disabled
BW80 Color display, 80 columns, color disabled
CO40 Color display, 40 columns, color enabled
CO80 Color display, 80 columns, color enabled
10. In response to several users who would like to see TINYWORD
suppress the creation of BAK files, we provided two options
to select from. The following routine works only for TINYWORD
version 1.5. Skip this section if you have another version
of TINYWORD.
First option:
If you check with your DOS disk, you might find a program
called DEBUG which you can use. The debug utility is a
debugging program which enables you to alter the contents
of a binary file without having to reassemble the program
again. While TINYWORD is used to alter ASCII files, the
DEBUG utility is TINYWORD's counterpart for binary files.
(1) Place TW.COM on the same directory where DEBUG.COM
(or DEBUG.EXE) is located in, and then type the follow-
ing command on the DOS command line to start the
debugging process:
DEBUG TW.COM
(2) DEBUG responds by displaying the hyphen prompt,
signaling its readiness to accept commands. The next
step is to specify the address of the instruction
set targetted for modification. Type the following
command but do not include the hyphen:
-E08E8
(3) After the debugger program finds the address, it
stores the content of the address in the memory
buffer. The memory buffer now contains eight
hexadecimal bytes related to the instruction set.
The diagram below illustrates what the contents of
the memory buffer contain:
1 2 3 4 5 6 7 8
┌──┬──┬──┬──┬──┬──┬──┬──┐
08E8 │CD│21│C6│06│CF│14│00│F6│
└──┴──┴──┴──┴──┴──┴──┴──┘
At this point, we are only interested in manipulating
the seventh hexadecimal byte. Your screen should
display the dump in the following format:
????:08E8 CD_
Press the space bar 6 more times until you reached
hexadecimal byte "00". Once the cursor is adjacent
to byte value "00", type the new value "FF" next to
it followed by a carriage return. DEBUG automatically
replaces byte value "00" with "FF".
Example:
????:08D8 CD. 21. C6. 06. CF. 14. 00.FF_
(4) Save the modified bytes to disk by typing letter W
after the hyphen prompt:
-W
(5) Quit the debugging program by typing Q:
-Q
Second option:
(1) Using norton utilities, search through TW.COM for
the following sequence of hexadecimal bytes:
Search for: CD 21 C6 06 CF 14 00 F6
Replace with: CD 21 C6 06 CF 14 FF F6
(2) Save the modified bytes to disk.
You now have a version of TINYWORD that suppresses the
creation of backup files.
11. Some users would like to know if we could build menu options
in TINYWORD permitting the selection of text colors.
We can, however, after weighing several arguments carefully,
we decided to avoid implementing any type of menu options
allowing users the capability to configure their own system.
Incorporating configuration routines into TINYWORD would just
add to the overhead size of the program. This is the reason
why we declined to include user control features such as
color menu selections in TINYWORD. A disassembler program
is the only tool needed to alter the codes controlling
TINYWORD's color instead. While there are many text editors
today which are admittedly more powerful than TINYWORD, we
decided to offer a no nonsense, simplified, all purpose
text editor without all the frills of a giant word processor.
By not implementing fancy options in TINYWORD, we succeeded
in developing a small text editor.
As mentioned earlier, a disassembler is required in order
to change the text color. We shall use DEBUG provided by
MS-DOS in our example. If your system is equipped with
only a monochrome monitor, please skip this section. This
section applies to systems which uses a color monitor.
The following routine works only for TINYWORD version 1.5.
Skip this section if you have another version of TINYWORD.
(1) At the DOS command line type:
DEBUG TW.COM
(2) The hyphen prompt indicates that you are currently
in the DEBUG command line. Type the following
command after the hyphen prompt:
-E1740
(3) The memory buffer contains the following information
about address "1740" which is transparent to the user:
1 2 3 4 5 6 7 8
┌──┬──┬──┬──┬──┬──┬──┬──┐
1740 │OB│2E│00│00│00│5A│00│57│
└──┴──┴──┴──┴──┴──┴──┴──┘
The first hexadecimal byte is the one we are interested
in.
Example:
????:1740 0B._
Type the hexadecimal byte corresponding to the color
that you want to replace with, next to byte value "0B".
Press ENTER to store the value in memory.
Example:
????:1740 0B.0E
Our example above shows that value "0E" was selected
to replace "0B" making the text color yellow instead.
You would have to try testing a variety of hexadecimal
combinations to determine the color that suits your
taste. Please keep in mind that when you save the new
file to disk, hexadecimal byte value "0B" will no
longer exist, and if you want to go back to change the
byte value again, you would have to use the last value
which you replaced earlier.
Hex Color Hex Color Hex Color
┌────┬────────────┐ ┌────┬───────────┐ ┌────┬───────────┐
│ 01 │ blue │ │ 06 │ red │ │ 0B │light cyan │
├────┼────────────┤ ├────┼───────────┤ ├────┼───────────┤
│ 02 │ green │ │ 07 │ grey │ │ 0C │light red │
├────┼────────────┤ ├────┼───────────┤ ├────┼───────────┤
│ 03 │ cyan │ │ 08 │dark grey │ │ 0D │lgt magenta│
├────┼────────────┤ ├────┼───────────┤ ├────┼───────────┤
│ 04 │ brown │ │ 09 │light blue │ │ 0E │ yellow │
├────┼────────────┤ ├────┼───────────┤ ├────┼───────────┤
│ 05 │ magenta │ │ 0A │light green│ │ 0F │ white │
└────┴────────────┘ └────┴───────────┘ └────┴───────────┘
The previous table shows just some examples of the
colors you can choose from. We also included a pro-
gram called COLOR.COM which lists additional colors.
(4) Save the file to disk by typing letter W after the
hyphen prompt:
-W
(5) Quit DEBUG by typing letter Q:
-Q
You now have a version of TINYWORD with the color of
your choice.
12. How do you change the color of the status line?
Ans: You can change the color of the status line following
the same procedure from #11. Locate address "0120".
The contents of the memory buffer for address "0120"
are:
1 2 3 4 5 6 7 8
┌──┬──┬──┬──┬──┬──┬──┬──┐
0120 │06│C7│14│1F│EB│13│90│2E│
└──┴──┴──┴──┴──┴──┴──┴──┘
The 4th hexadecimal byte is of primary interest. You
may select the color using either the color table from
question/answer #11 or from a program called COLOR.COM
which is included in your disk. Save the modifications
to disk before you exit the DEBUG program.
13. What programming languages did you use to write TINYWORD in?
Ans: OPTASM, TASM, MASM, and DASM. Pretty complex, huh?
14. Will you make any enhancements of TINYWORD in the future?
Ans: Possibly. This depends on the number of registrations
we received from users. If enough users register for
TINYWORD, we will certainly continue our efforts to
improve TINYWORD. So please send in those registration
forms now!
====================================================================
┌──────────────────────────────────────────────────┐
│ │
│ TINYPRINT │
│ │
│ version 1.5 │
│ │
│ │
│ Copyright (c) 1989, 1990 - all rights reserved │
│ Loys Software Development │
│ │
└──────────────────────────────────────────────────┘
TINYPRINT is a simple program designed to print neat,
formatted texts on a standard 8-1/2 X 11 inch size paper. It
will support a wide variety of printers. TINYPRINT works in
conjunction with the TINYWORD editor, but it may also be used
as a stand alone program to generate formatted printouts from
other word processors as well with the stipulation that the files
are represented in ASCII. Some of TINYPRINT features include:
o the ability to change the left margin for printing.
o adjusting the maximum number of lines printed per page.
o the option to pause after each page.
o the option to print page numbers on the bottom of each
page.
o the ability to print using either single or double space.
INSTRUCTIONS TO RUN TINYPRINT
_________________________________________________________________
Type the following command to execute TINYPRINT:
TP [filename[.ext]]
If the name of the file is included after the word TP, TINYPRINT
automatically prints the file using the following defaults built
into the system:
o The left margin is set at column 5 for printing.
o TINYPRINT will print continuously without pausing.
o 55 lines are printed per page.
o Page numbers will be printed on the bottom of each page
starting from page 1.
o Single space will be used.
On the other hand, if the file is omitted after the word TP,
TINYPRINT displays a list of menu on the screen prompting you
to supply the specifications for printing.
┌────────────────────────────────────────────────────────────┐
│ │
│ Enter filename to print: │
│ Set left margin at 5: [Y] │
│ Pause between pages: [N] │
│ Print 55 lines per page: [Y] │
│ Print page number: [Y] │
│ Print single space: [Y] │
│ │
└────────────────────────────────────────────────────────────┘
(1) Enter filename to print:
The first line prompts for the name of the file to be printed.
Simply type the name of the file followed by the carriage
return key. In order to get a successful printout of your
file, the contents of the file must already be written in
ASCII format. Some word processors like WORDSTAR version 1
uses its own format to produce a text file. Since TINYPRINT
only acknowledges ASCII files, any text not represented in
ASCII form will result in the printing of garbage from the
printer. TINYPRINT accepts TINYWORD's files without a
problem since the text is already in ASCII format.
If TINYPRINT cannot find the file on the current directory,
it will echo a warning beep prompting the user to specify
the correct file name. The use of wildcards is not accepted
in TINYPRINT.
(2) Set left margin at 5: [Y]
By pressing either the "Y" key or the carriage return on the
keyboard, TINYPRINT accepts the default and begins printing on
column 5 of the printer paper. You could also get TINYPRINT to
print on a different margin merely by answering "N". TINYPRINT
displays the following message:
Left margin setting [0-20]: 0
TINYPRINT prompts you to specify the desired left margin setting.
Valid settings are enclosed within values 0 to 20. You may
either depress the carriage return key to accept the default
value of "0" or you may enter a new value instead.
(3) Pause between pages: [N]
TINYPRINT can pause after each page. This allows you to add
new paper in your printer particularly if you are using single
sheets. Type "Y" if you want TINYPRINT to pause after each
page or type "N" if you want otherwise.
(4) Print 55 lines per page: [Y]
Pressing either the carriage return key or the "Y" key in-
structs TINYPRINT to accept the default 55 lines to be printed
per page. However, if 55 lines doesn't meet your criteria, an
option is provided enabling you to modify to whatever number
you like. By responding "N" at the prompt, the following
message would appear:
Print how many lines per page? 55
Specify the amount of lines TINYPRINT is to print per page.
The value should be within the range of 0 to 66. A standard
11" X 8 1/2" size paper usually consists of 66 lines. If you
intend to include page numbers at the bottom of each page, you
must take account of the spaces reserved for pagination. You
should therefore input a value smaller than 66 lines.
(5) Print page number: [Y]
By default page numbers are printed. However, if you would
like to exclude page numbers from being printed on the bottom
of each page, press "N" on the keyboard. TINYPRINT moves to
the next request in the menu.
On the other hand, if you decided to accept the pagination
option, the next message will appear after overlapping over
the first message:
Starting page number: 1
TINYPRINT requests for the starting page number that you
would like to use for printing. For example, if you select
"100" as your starting page number, TINYPRINT prints page
100 on the bottom of the first page and increments each
page by one thereafter. You may press the carriage return
key without entering any number if you intend to use the
default value of "1" as the starting page number.
(6) Print single space: [Y]
You may use either the "Y" key or the carriage return to use
the single space option, or you may type "N" to select the
double space option instead. If double space option is
chosen, TINYPRINT overwrites this line with the following
line:
----------- printing double space -----------
TINYPRINT is able to detect whether your printer is on or off. If
the printer is off-line or not connected, TINYPRINT issues the
following warning message:
Printer is not ready
Once the printer problem is corrected, you can return TINYPRINT
to operation merely by pressing any key on the keyboard again. The
<ESC> command can be used to exit TINYPRINT anytime.
USER ASSISTANCE AND SUPPORT
___________________________________________________________________
If you have a modem, you can obtain the latest version of
TINYWORD from COMPUSERVE. TINYWORD can be accessed through the
IBM software forum (e.g. GO IBMSW) under the section of text
editors. If you are unable to reach us by telephone, you may
mail us $5.00 and we will send you a disk containing our latest
version of TINYWORD. Please forward all questions with a self
stamped envelope to the address given below. We will try to
respond to you as early as possible.
==================================================================
TRADEMARK ACKNOWLEDGEMENTS
_________________________________________________________________
WORDSTAR is a registered trademark of Wordstar International.
MS-DOS & MASM are registered trademarks of Microsoft Corp.
TASM is a registered trademark of Borland Industry.
Norton Utilities is a copyright program of Peter Norton.
OPTASM is a registered trademark of SLR Systems.
DASM is a registered trademark of LSD company.
LHarc is a copyright program of Haruyasu Yoshizaki.
TINYWORD is a copyright program of Loys Software Development.
TINYPRINT is a copyright program of Loys Software Development.
REGISTRATION FORM
------------ ----
TINYWORD & TINYPRINT
(Version 1.5)
Loys Software Development
1276 Crystal St.
Los Angeles, CA 90031
Name: _____________________________________________
Address: __________________________________________
City: _____________________________________________
State: _____________ Zip: _______________
Amount: $____________
We need to know more about you and your requirements. This
information helps us to make any additional improvements in
the future. Please help us by completing the questionaire.
1. Where did you hear about TINYWORD?
___________________________________________________________
2. What brand is your computer?
___________________________________________________________
3. What type of monitor do you have? Monochrome or color?
___________________________________________________________
4. What type of disk do you have?
___________________________________________________________
5. What brand is your printer?
___________________________________________________________
6. How much RAM memory do you have in your system?
___________________________________________________________
7. Comments or suggestions: